<!--
 * @Author: luoyun
 * @Descripttion: 
-->
<template>
  <div class="nav-bar">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name:'NavBar',
    data () {
      return {

      };
    },

    components:{},

    methods:{},

    created(){}
  }
</script>

<style lang='scss' scoped>
  .nav-bar{
    width:100%;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0px 1px 1px #d6d6d6;
    .left,.right{
      width:60px;
    }
    .center{
      flex:1;
      text-align: center;

    }
  }
</style>